package com.qingfeng.medical.biz.auth.domain.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 清风学Java
 */
@ApiModel(description = "分配菜单")
@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class AssginMenuDTO {

    @ApiModelProperty(value = "角色id")
    @NotNull(message = "角色Id不能为空")
    private Long roleId;

    @ApiModelProperty(value = "菜单id列表")
    @NotNull(message = "菜单Id不能为空")
    private List<Long> menuIdList;

}
